package com.zbkj.common.response.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "InvoiceListResponse对象", description = "客户端-开票订单列表")
public class InvoiceListResponse {

    private Long id;

//    @ApiModelProperty("0:普票 1:专票")
//    private Integer invoiceType;

    @ApiModelProperty("应付金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("用户公司名")
    private String companyName;

    @ApiModelProperty("订单流水号")
    private String orderNo;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("订单明细集合")
    private List<OrderDetailResponse> orderDetailList;
}
